package com.firsteapps.mobile.android.puzzle;

import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class News extends BaseActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.news_layout);

		WebView news = (WebView) findViewById(R.id.news_content);
		news.getSettings().setJavaScriptEnabled(true);
		news.setWebViewClient(new WebViewClient() {
	        @Override
	        public boolean shouldOverrideUrlLoading(WebView view, String url) {
	           return super.shouldOverrideUrlLoading(view, url);
	        }
	    });

		news.loadUrl("http://www.firsteapps.com/Gppnews/Source1");
	}
}
